package org.jeecg.modules.demo.com.kunpeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo.com.kunpeng.entity.OaStep;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OaStepMapper extends BaseMapper<OaStep> {

    /**
     * 根据actionId获取项目阶段信息
     * @param actionId
     * @return
     */
    List<String> listOaStepById(Integer actionId);

    /**
     * 根据actionId获取项目详情列表
     */
    List<OaStep> listOaStep(Integer actionId);
}
